package com.ctgu.expresshelper.entity;

public class Order {

  private int id;
  private String fromAddress;
  private String toAddress;
  private int status;
  private int userid;
  private int shopid;

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public String getFromAddress() {
    return fromAddress;
  }

  public void setFromAddress(String fromAddress) {
    this.fromAddress = fromAddress;
  }

  public String getToAddress() {
    return toAddress;
  }

  public void setToAddress(String toAddress) {
    this.toAddress = toAddress;
  }

  public int getStatus() {
    return status;
  }

  public void setStatus(int status) {
    this.status = status;
  }

  public int getUserid() {
    return userid;
  }

  public void setUserid(int userid) {
    this.userid = userid;
  }

  public int getShopid() {
    return shopid;
  }

  public void setShopid(int shopid) {
    this.shopid = shopid;
  }

  @Override
  public String toString() {
    return "Order{" +
            "id=" + id +
            ", fromAddress='" + fromAddress + '\'' +
            ", toAddress='" + toAddress + '\'' +
            ", status=" + status +
            ", userid=" + userid +
            ", shopid=" + shopid +
            '}';
  }
}
